package com.hymall.bean.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author: 章鹏
 * @description 统计报表 → 订单统计 → 按天统计订单总额，订单量，下单用户数量，客单价
 * @date: 2022/7/17 18:03
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdminStatOrderInnerRowsVO {
    /**
     * amount : 3230
     * orders : 2
     * customers : 2
     * day : 2022-07-17
     * pcr : 1615
     */

    private double amount;
    private int orders;
    private int customers;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone ="GMT+8")
    private Date day;
    private double pcr;
}
